 <style>
 <?php echo htmlentities(file_get_contents('css/style.css', true)); ?>
 </style>
<?
include_once('common.php');
include_once(S_ROOT.'./source/function_admin.php');

if (!checkAdmin($_FB['uid'])) {
	showmessage('no_privilege');
}

if (isset($_GET["action"])) {
	$action = $_GET["action"];
} else {
	$action = "home";
}

if ($action == "add") {
	if (isset($_GET["submitting"])) {
		showSubmit("add");
	} else {
		showAdd("add");
	}
} else if ($action == "edit") {
	if (isset($_GET["submitting"])) {
		showSubmit("edit");
	} else {
		showAdd("edit");
	}
} else if ($action == "delete") {
	showDelete();
} else {
	showDefault();
}



?>